# -*- coding:UTF-8 -*-
from django.conf.urls import url

urlpatterns = [
    #equipment
    url(r'^report$','saltstack.views.index', name='home'),
    url(r'^asset_report$','saltstack.views.assetReport', name='assetReport'),

    url(r'^node_list$','saltstack.views.nodeList', name='nodeList'),

    url(r'^key_list$','saltstack.views.keyList', name='keyList'),
    url(r'^key_accept$','saltstack.views.keyAccept', name='keyAccept'),
    url(r'^key_delete$','saltstack.views.keyDelete', name='keyDelete'),


    url(r'^node_search$','saltstack.views.searchNodes', name='searchNodes'),

    url(r'^node_exists$','saltstack.views.nodeExists', name='nodeExists'),

    url(r'^commands$','saltstack.views.commands', name='commands'),
    url(r'^cmd$', "saltstack.views.saltCmd", name='cmd'),
    url(r'^get_cmd$', "saltstack.views.getSaltCmd", name='getcmd'),
    url(r'^logs$', "saltstack.views.saltLog", name='logs'),
    url(r'^get$', "saltstack.views.getSaltLog", name='getlog'),
]